package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.request.ImgRecordRequest;
import com.ytjj.qmyx.admin.model.request.ImgTaskUploadRequest;
import com.ytjj.qmyx.admin.model.response.ImgLibraryResponse;
import com.ytjj.qmyx.admin.model.response.SelectProductSkuInfoResponse;
import com.ytjj.qmyx.mall.model.ProductSelectImg;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @ClassName ImgTaskService
 *
 *
 * @Version 1.0
 **/
public interface ImgTaskService {
    /**
     * @Description 新增商品图片
     *
     *
     *
     * @Version 1.0
     **/
    int addImg(ImgTaskUploadRequest imgTaskUploadRequest);

    /**
     * @Description 获取图库列表
     *
     *
     *
     * @Version 1.0
     **/
    CommonPage<ProductSelectImg> getImgList(ImgTaskUploadRequest imgTaskUploadRequest);

    /**
     * 删除图片
     * @param id
     * @return
     */
    int deleteImg(Integer id);

    /**
     * @Description 修改图片信息
     *
     *
     *
     * @Version 1.0
     **/
    int modifiedImgInfo(ImgTaskUploadRequest imgTaskUploadRequest);

    List<SelectProductSkuInfoResponse> getSelectProductSkuInfo(Integer id);


    Map<String, Object> selectSkuKeysbypid(Integer id);

    /**
     * @Description 获取美工商品图片操作记录
     *
     *
     *
     * @Version 1.0
     **/
    CommonPage<ImgLibraryResponse> getImgRecordList(ImgRecordRequest imgRecordRequest);
}

